package com.guan.eduservice.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Date: 2023/4/25 15:26
 * @Author: 管奇安
 * @Description:
 */
@Component
@FeignClient("service-order")
public interface OrdersClient {

    @GetMapping("/serviceorder/order/isBuyCourse/{courseId}/{memberId}")
    boolean isBuyCourse(@PathVariable("courseId") String courseId,
                        @PathVariable("memberId") String memberId);


}
